﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000CAF RID: 3247
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class OKDHFHCGGLD : IMessage<OKDHFHCGGLD>, IMessage, IEquatable<OKDHFHCGGLD>, IDeepCloneable<OKDHFHCGGLD>, IBufferMessage
	{
		// Token: 0x170028D4 RID: 10452
		// (get) Token: 0x060090F5 RID: 37109 RVA: 0x00180D5B File Offset: 0x0017EF5B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<OKDHFHCGGLD> Parser
		{
			get
			{
				return OKDHFHCGGLD._parser;
			}
		}

		// Token: 0x170028D5 RID: 10453
		// (get) Token: 0x060090F6 RID: 37110 RVA: 0x00180D62 File Offset: 0x0017EF62
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return OKDHFHCGGLDReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170028D6 RID: 10454
		// (get) Token: 0x060090F7 RID: 37111 RVA: 0x00180D74 File Offset: 0x0017EF74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return OKDHFHCGGLD.Descriptor;
			}
		}

		// Token: 0x060090F8 RID: 37112 RVA: 0x00180D7B File Offset: 0x0017EF7B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OKDHFHCGGLD()
		{
		}

		// Token: 0x060090F9 RID: 37113 RVA: 0x00180D84 File Offset: 0x0017EF84
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OKDHFHCGGLD(OKDHFHCGGLD other) : this()
		{
			this.displayType_ = other.displayType_;
			this.ePIAILLKNCI_ = ((other.ePIAILLKNCI_ != null) ? other.ePIAILLKNCI_.Clone() : null);
			this.gKCMIKBHNPJ_ = ((other.gKCMIKBHNPJ_ != null) ? other.gKCMIKBHNPJ_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060090FA RID: 37114 RVA: 0x00180DEC File Offset: 0x0017EFEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OKDHFHCGGLD Clone()
		{
			return new OKDHFHCGGLD(this);
		}

		// Token: 0x170028D7 RID: 10455
		// (get) Token: 0x060090FB RID: 37115 RVA: 0x00180DF4 File Offset: 0x0017EFF4
		// (set) Token: 0x060090FC RID: 37116 RVA: 0x00180DFC File Offset: 0x0017EFFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public BattleRecordType DisplayType
		{
			get
			{
				return this.displayType_;
			}
			set
			{
				this.displayType_ = value;
			}
		}

		// Token: 0x170028D8 RID: 10456
		// (get) Token: 0x060090FD RID: 37117 RVA: 0x00180E05 File Offset: 0x0017F005
		// (set) Token: 0x060090FE RID: 37118 RVA: 0x00180E0D File Offset: 0x0017F00D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public AOBGKPKLNPO EPIAILLKNCI
		{
			get
			{
				return this.ePIAILLKNCI_;
			}
			set
			{
				this.ePIAILLKNCI_ = value;
			}
		}

		// Token: 0x170028D9 RID: 10457
		// (get) Token: 0x060090FF RID: 37119 RVA: 0x00180E16 File Offset: 0x0017F016
		// (set) Token: 0x06009100 RID: 37120 RVA: 0x00180E1E File Offset: 0x0017F01E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GFIHCDPGHMA GKCMIKBHNPJ
		{
			get
			{
				return this.gKCMIKBHNPJ_;
			}
			set
			{
				this.gKCMIKBHNPJ_ = value;
			}
		}

		// Token: 0x06009101 RID: 37121 RVA: 0x00180E27 File Offset: 0x0017F027
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as OKDHFHCGGLD);
		}

		// Token: 0x06009102 RID: 37122 RVA: 0x00180E38 File Offset: 0x0017F038
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(OKDHFHCGGLD other)
		{
			return other != null && (other == this || (this.DisplayType == other.DisplayType && object.Equals(this.EPIAILLKNCI, other.EPIAILLKNCI) && object.Equals(this.GKCMIKBHNPJ, other.GKCMIKBHNPJ) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06009103 RID: 37123 RVA: 0x00180E9C File Offset: 0x0017F09C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.DisplayType != BattleRecordType.BattleRecordNone)
			{
				num ^= this.DisplayType.GetHashCode();
			}
			if (this.ePIAILLKNCI_ != null)
			{
				num ^= this.EPIAILLKNCI.GetHashCode();
			}
			if (this.gKCMIKBHNPJ_ != null)
			{
				num ^= this.GKCMIKBHNPJ.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06009104 RID: 37124 RVA: 0x00180F0D File Offset: 0x0017F10D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06009105 RID: 37125 RVA: 0x00180F15 File Offset: 0x0017F115
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06009106 RID: 37126 RVA: 0x00180F20 File Offset: 0x0017F120
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ePIAILLKNCI_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.EPIAILLKNCI);
			}
			if (this.gKCMIKBHNPJ_ != null)
			{
				output.WriteRawTag(58);
				output.WriteMessage(this.GKCMIKBHNPJ);
			}
			if (this.DisplayType != BattleRecordType.BattleRecordNone)
			{
				output.WriteRawTag(112);
				output.WriteEnum((int)this.DisplayType);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06009107 RID: 37127 RVA: 0x00180F98 File Offset: 0x0017F198
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.DisplayType != BattleRecordType.BattleRecordNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.DisplayType);
			}
			if (this.ePIAILLKNCI_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.EPIAILLKNCI);
			}
			if (this.gKCMIKBHNPJ_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GKCMIKBHNPJ);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06009108 RID: 37128 RVA: 0x00181008 File Offset: 0x0017F208
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(OKDHFHCGGLD other)
		{
			if (other == null)
			{
				return;
			}
			if (other.DisplayType != BattleRecordType.BattleRecordNone)
			{
				this.DisplayType = other.DisplayType;
			}
			if (other.ePIAILLKNCI_ != null)
			{
				if (this.ePIAILLKNCI_ == null)
				{
					this.EPIAILLKNCI = new AOBGKPKLNPO();
				}
				this.EPIAILLKNCI.MergeFrom(other.EPIAILLKNCI);
			}
			if (other.gKCMIKBHNPJ_ != null)
			{
				if (this.gKCMIKBHNPJ_ == null)
				{
					this.GKCMIKBHNPJ = new GFIHCDPGHMA();
				}
				this.GKCMIKBHNPJ.MergeFrom(other.GKCMIKBHNPJ);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06009109 RID: 37129 RVA: 0x0018109C File Offset: 0x0017F29C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600910A RID: 37130 RVA: 0x001810A8 File Offset: 0x0017F2A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 58U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.DisplayType = (BattleRecordType)input.ReadEnum();
						}
					}
					else
					{
						if (this.gKCMIKBHNPJ_ == null)
						{
							this.GKCMIKBHNPJ = new GFIHCDPGHMA();
						}
						input.ReadMessage(this.GKCMIKBHNPJ);
					}
				}
				else
				{
					if (this.ePIAILLKNCI_ == null)
					{
						this.EPIAILLKNCI = new AOBGKPKLNPO();
					}
					input.ReadMessage(this.EPIAILLKNCI);
				}
			}
		}

		// Token: 0x0400374A RID: 14154
		private static readonly MessageParser<OKDHFHCGGLD> _parser = new MessageParser<OKDHFHCGGLD>(() => new OKDHFHCGGLD());

		// Token: 0x0400374B RID: 14155
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400374C RID: 14156
		public const int DisplayTypeFieldNumber = 14;

		// Token: 0x0400374D RID: 14157
		private BattleRecordType displayType_;

		// Token: 0x0400374E RID: 14158
		public const int EPIAILLKNCIFieldNumber = 3;

		// Token: 0x0400374F RID: 14159
		private AOBGKPKLNPO ePIAILLKNCI_;

		// Token: 0x04003750 RID: 14160
		public const int GKCMIKBHNPJFieldNumber = 7;

		// Token: 0x04003751 RID: 14161
		private GFIHCDPGHMA gKCMIKBHNPJ_;
	}
}
